﻿using System;
using System.Text;

public struct Point3D
{
    public int x { get; set; }
    public int y { get; set; }
    public int z { get; set; }

    private static readonly Point3D zero = new Point3D(0, 0, 0);
   

    public Point3D(int x, int y, int z):this()
    {
        this.x = x;
        this.y = y;
        this.z = z;


    }

    public override string ToString()
    {
        StringBuilder text=new StringBuilder();
        text.AppendFormat("x: {0}",this.x.ToString());
        text.AppendLine();
        text.AppendFormat("y: {0}", this.y.ToString());
        text.AppendLine();
        text.AppendFormat("z: {0}", this.z.ToString());
        text.AppendFormat("\n");
        return text.ToString();
    }

 
}